package com.gzhu.knowledgeAdmin.common.vo;


import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.List;

/**
 * @author yangminggui
 * @create 2024-04-25 14:38
 */
@Data
@Document(indexName = "zs_base")
public class ZsESVo {

    @Id
    @Field(type = FieldType.Integer)
    private Integer id;

    @Field(type = FieldType.Text , analyzer = "ik_smart")
    private String zsbt;

    @Field(type = FieldType.Text , analyzer = "ik_smart")
    private String wtnr;

    @Field(type = FieldType.Text,analyzer = "ik_smart")
    private List<String> wtList;

    @Field(type = FieldType.Text , analyzer = "ik_smart")
    private String hdnr;

     @Field(type = FieldType.Text,analyzer = "ik_smart")
    private List<String> hdList;

    @Field(type = FieldType.Text)
    private String gsid;

}
